<canvas #canvas width="200" height="150" style="border: 1px dashed gray;"></canvas>

<div>canvas的宽度为:{{canvas.width}}, 高度为:{{canvas.height}}</div>
